package com.talos.ums.controller.admin.scopeorganization.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 经营范围组织关联表 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UmsScopeOrganizationRespVO {

    @Schema(description = "自增id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10897")
    @ExcelProperty("自增id")
    private Long id;

    @Schema(description = "经营范围id bdms_business_scope.id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25516")
    @ExcelProperty("经营范围id bdms_business_scope.id")
    private Long scopeId;

    @Schema(description = "组织机构ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9122")
    @ExcelProperty("组织机构ID")
    private Long organizationId;

    @Schema(description = "组织编码")
    @ExcelProperty("组织编码")
    private String organizationCode;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人工号")
    @ExcelProperty("创建人工号")
    private String creatorCode;

    @Schema(description = "创建人姓名", example = "张三")
    @ExcelProperty("创建人姓名")
    private String creatorName;

    @Schema(description = "修改时间")
    @ExcelProperty("修改时间")
    private LocalDateTime modifyTime;

    @Schema(description = "修改人工号")
    @ExcelProperty("修改人工号")
    private String modifierCode;

    @Schema(description = "修改人姓名", example = "赵六")
    @ExcelProperty("修改人姓名")
    private String modifierName;

    @Schema(description = "租户编码")
    @ExcelProperty("租户编码")
    private String tenantCode;

    @Schema(description = "租户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "52")
    @ExcelProperty("租户id")
    private Long tenantId;

    @Schema(description = "创建人id", example = "4526")
    @ExcelProperty("创建人id")
    private Long creatorId;

    @Schema(description = "修改人id", example = "22323")
    @ExcelProperty("修改人id")
    private Long modifierId;

}
